﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ext.Master" ValidateRequest="false" AutoEventWireup="true" CodeBehind="Controls.TreeLoad.aspx.cs" Inherits="Demo.Tree.Controls_TreeLoad" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table>
        <tr>
            <td style="padding: 10px;">
                <ext:TreePanel runat="server" ID="tree1" Title="异步加载数据" DataUrl="/Common/GetTreeNodes.ashx"
                    RootId="0" Width="300" Height="500">
                </ext:TreePanel>
            </td>
            <td style="padding: 10px;">
                <ext:TreePanel runat="server" ID="tree2" Title="同步加载所有数据" RootId="0" Width="300" Height="500"></ext:TreePanel>
            </td>
            <td style="padding: 10px;">
                <ext:TreePanel runat="server" ID="tree3" Title="响应数据加载事件" RootId="0" Width="300" Height="500" AutoPostBack="true"
                    OnLoadChildren="tree3_LoadChildren">
                    <TriggerPostBackEvents LoadChildren="true" />
                </ext:TreePanel>
            </td>
        </tr>
    </table>
</asp:Content>
